<template>
	<view class="mx-30">
		<!-- 地址 -->
		<navigator url="/pages/address/address?source=1" class="address-section radius-16">
			<view class="order-content">
				<text class="yticon icon-shouhuodizhi"></text>
				<view class="cen"
					v-if="addressData !== null && typeof addressData === 'object' && addressData.hasOwnProperty('id')">
					<view class="top">
						<text class="name">{{addressData.contacts}}</text>
						<text class="mobile">{{addressData.phone}}</text>
					</view>
					<text class="address">{{addressData.address}} {{addressData.area}}</text>
				</view>
				<view class="cen" v-else>
					<view>
						请添加收货地址
					</view>
				</view>
				<text class="yticon icon-you"></text>
			</view>
			<line-img></line-img>
		</navigator>

		<view class="goods-section radius-16">
			<view class="g-header b-b">
				<text class="name font-bold">{{shopInfoName}}</text>
			</view>
			<!-- 商品列表 -->
			<u-read-more ref="uReadMore" show-height="460" toggle close-text="展开更多" color="#999" text-indent="0">
				<view v-for="(item, index) in carList" :key="index">
					<view class="g-item">
						<image :src="$ut.setImgae(item.image)"></image>
						<view class="right">
							<view class="flex items-center">
								<view class="title clamp line-1">{{item.name}}</view>
								<template v-if="paymentMethod == 1">
									<view class="underlined-price">
										{{item.originalPrice}}
									</view>
									<view class="price font-36">{{item.memberPrice}}</view>
								</template>
								<template v-else>
									<view class="underlined-price" style="opacity: 0;">
										{{item.originalPrice}}
									</view>
									<view class="price font-36">{{item.originalPrice}}</view>
								</template>
							</view>
							<view class="spec">{{item.commoditySpecs}}</view>
							<view class="price-box">
								<text class="number">x {{item.number}}</text>
							</view>
						</view>
					</view>
				</view>
			</u-read-more>
		</view>

		<!-- 支付方式 -->
		<view class="yt-list">
			<view class="yt-list-cell b-b" @click="paymentMethodShow = true">
				<view class="cell-icon">
					支
				</view>
				<text class="cell-tit clamp">支付方式</text>
				<text class="cell-tip">
					{{ paymentMethod == 0 ? '微信支付' : '储蓄支付' }}
				</text>
				<text class="yticon icon-you"></text>
			</view>
		</view>

		<!-- 优惠明细 -->
		<view class="yt-list">
			<view class="yt-list-cell b-b" v-if="isShopNewCustomers">
				<view class="cell-icon">
					首
				</view>
				<text class="cell-tit clamp">首单优惠</text>
				<text class="cell-tip disabled">{{ firstOrderPrice ? '-¥' : '' }}{{ firstOrderPrice || '已无首单优惠'}}</text>
			</view>
			<view class="yt-list-cell b-b">
				<view class="cell-icon hb">
					减
				</view>
				<text class="cell-tit clamp">商家满减</text>
				<text
					class="cell-tip disabled">{{ fullReduction.givePrice ? '-¥' : '' }}{{ fullReduction.givePrice || '暂无满减'}}</text>
			</view>
		</view>
		<!-- 金额明细 -->
		<view class="yt-list">
			<view class="yt-list-cell b-b">
				<text class="cell-tit clamp">商品金额</text>
				<text class="cell-tip">￥{{ allPrice }}</text>
			</view>
			<view class="yt-list-cell b-b">
				<text class="cell-tit clamp">打包费</text>
				<text class="cell-tip red">￥{{ serviceChargeInfo.packingCharge }}</text>
			</view>
			<view class="yt-list-cell b-b">
				<text class="cell-tit clamp">配送费</text>
				<text class="cell-tip">¥{{ serviceChargeInfo.deliveryPrice }}</text>
			</view>
			<view class="yt-list-cell desc-cell">
				<text class="cell-tit clamp">备注</text>
				<input class="desc" type="text" v-model="notes" placeholder="请填写备注信息" placeholder-class="placeholder" />
			</view>
		</view>

		<!-- 底部 -->
		<view class="footer">
			<view class="price-content">
				<text>实付款</text>
				<text class="price-tip"></text>
				<text class="price">{{ disbursements || 0 }}</text>
			</view>
			<text class="submit" @click="submit">提交订单</text>
		</view>

		<!-- 支付方式面板 -->
		<u-popup v-model="paymentMethodShow" mode="bottom" border-radius="16" safe-area-inset-bottom closeable>
			<view class="my-24 flex justify-center font-32 font-bold">
				支付方式
			</view>
			<view class="pay-type-list">
				<view class="type-item b-b" @click="changePaymentMethod(0)">
					<text class="icon yticon icon-weixinzhifu"></text>
					<view class="con">
						<text class="tit">微信支付</text>
						<text>推荐使用微信支付</text>
					</view>
					<label class="radio">
						<radio value="" color="#2979ff" :checked='paymentMethod == 0' />
						</radio>
					</label>
				</view>
				<view class="type-item" v-if="isVip" @click="changePaymentMethod(1)">
					<text class="icon yticon icon-erjiye-yucunkuan"></text>
					<view class="con">
						<text class="tit">储蓄支付</text>
						<text>可用余额 ¥{{ balance.toFixed(2) }}</text>
					</view>
					<label class="radio">
						<radio value="" color="#2979ff" :checked='paymentMethod == 1' />
						</radio>
					</label>
				</view>
			</view>
		</u-popup>

		<!-- 优惠券面板 -->
		<view class="mask" :class="maskState===0 ? 'none' : maskState===1 ? 'show' : ''" @click="toggleMask">
			<view class="mask-content" @click.stop.prevent="stopPrevent">
				<!-- 优惠券页面，仿mt -->
				<view class="coupon-item" v-for="(item,index) in couponList" :key="index">
					<view class="con">
						<view class="left">
							<text class="title">{{item.title}}</text>
							<text class="time">有效期至2019-06-30</text>
						</view>
						<view class="right">
							<text class="price">{{item.price}}</text>
							<text>满30可用</text>
						</view>

						<view class="circle l"></view>
						<view class="circle r"></view>
					</view>
					<text class="tips">限新用户使用</text>
				</view>
			</view>
		</view>
		<u-modal v-model="savingsPaymentReminderShow" title="温馨提示" show-cancel-button confirm-text="我已知晓" cancel-text="不再提示"
			@confirm="savingsPaymentReminderShow = false" @cancel="isNoShow">
			<view class="modalContent-style">
				开通储蓄支付预估可优惠<text class="price font-30">{{preferentialPirce}}</text>元哦~
			</view>
		</u-modal>
	</view>
</template>
<!--  -->
<script>
	import {
		mapState
	} from "vuex";
	import lineImg from './components/line-img.vue';
	import wxPay from '@/common/mixins/wxPay.js';
	export default {
		data() {
			return {
				maskState: 0, // 优惠券面板显示状态
				notes: '', // 备注
				shopInfoName: '', // 店铺名称
				carList: [], // 购物车过来的商品信息
				shopRulesData: [], // 门店规则信息
				fullReduction: {
					reachPrice: 0,
					givePrice: 0
				}, // 满减优惠价
				isShopNewCustomers: false, // 是否门店新客
				savingsPaymentReminderShow: false, // 提示储蓄支付更好面板
				firstOrderPrice: 0, // 首单优惠价
				shopInfo: {}, // 购物车过来的店铺信息
				serviceChargeInfo: {}, // 配送费以及打包费
				// allPrice: 0, // 订单总价
				paymentMethod: 1, // 支付方式 0 微信支付 1 余额支付
				paymentMethodShow: false, // 支付方式面板显示状态
				isVip: false, // 是否是储蓄会员
				balance: 0, // 余额
				couponList: [{
						title: '新用户专享优惠券',
						price: 5,
					},
					{
						title: '庆五一发一波优惠券',
						price: 10,
					},
					{
						title: '优惠券优惠券优惠券优惠券',
						price: 15,
					}
				],
				addressData: {},
				isReadAll: false, // 是否展开更多
			}
		},
		mixins: [wxPay],
		components: {
			lineImg
		},
		computed: {
			...mapState(["userInfo","schoolInfo"]),
			// 总价
			allPrice() {
				let price = 0;
				this.carList.forEach(item => {
					if (this.paymentMethod == 1) {
						price += Number(item.memberPrice) * Number(item.number)
					} else {
						// isInSave 如果参与了打折，那么这个地方的系数就要改变了(后台已经处理好了)
						// 规格中已经处理了，直接加上原价即可
						price += Number(item.originalPrice) * Number(item.number)
					}
				})
				console.log(price);
				price = Number(price.toFixed(2));
				return price
			},
			disbursements() {
				this.fullReduction.givePrice = 0;
				this.fullReduction.reachPrice = 0;
				let allPriceClone = Number(JSON.parse(JSON.stringify(this.allPrice)));
				// 先进行新客满减，再进行店铺规则满减;
				if (this.isShopNewCustomers) allPriceClone = allPriceClone - this.firstOrderPrice;
				this.shopRulesData.forEach(item => {
					if (allPriceClone >= item.reachPrice) {
						this.fullReduction.givePrice = item.givePrice;
						this.fullReduction.reachPrice = item.reachPrice;
					}
				})
				allPriceClone = allPriceClone - this.fullReduction.givePrice;
				console.log(allPriceClone);
				allPriceClone = allPriceClone + Number(this.serviceChargeInfo.packingCharge) + Number(this
					.serviceChargeInfo
					.deliveryPrice);
				allPriceClone = Number(allPriceClone.toFixed(2));
				return allPriceClone
			},
			// 总优惠价
			preferentialPirce() {
				let price = 0;
				this.$store.state.carList.forEach(item => {
					price += (Number(item.originalPrice) - Number(item.memberPrice)) * Number(item.number);
				})
				price = Number(price.toFixed(2));
				return price
			},
		},
		onLoad(option) {
			//商品数据
			this.carList = JSON.parse(decodeURIComponent(option.carList));
			this.shopInfo = JSON.parse(decodeURIComponent(option.shopInfo));
			this.isVip = JSON.parse(decodeURIComponent(option.isVip));
			this.paymentMethod = this.isVip ? 1 : 0;
			this.shopInfoName = option.shopInfoName;
			this.getUserAddressRecently();
			this.getShopInfoDeliveryPacking();
			this.getShopInfoUserNew();
			this.getShopRule();
			this.getShopSaveUserBalance();
		},
		methods: {
			// 不再提示弹窗
			isNoShow() {
				uni.setStorageSync('isNoShowVipPopup', 1);
			},
			// 切换支付方式
			changePaymentMethod(type) {
				// && !this.isVip
				if (this.shopInfo.isOpenSave == 1 && (!uni.getStorageSync('isNoShowVipPopup'))) {
					this.savingsPaymentReminderShow = true;
				}

				this.paymentMethod = type;
				this.paymentMethodShow = false;
			},
			// 获取用户是否是店铺新人
			getShopInfoUserNew() {
				this.$u.api.getShopInfoUserNew({
					id: this.shopInfo.id,
					userId: this.userInfo.id
				}).then(res => {
					this.isShopNewCustomers = res.dataList == 0 ? true : false;
				})
			},
			// 获取用户是否是店铺新人
			getShopRule() {
				this.$u.api.getShopRule({
					shopId: this.shopInfo.id,
				}).then(res => {
					res.dataList.forEach(item => {
						if (item.type == 1) {
							this.shopRulesData.push(item);
						}
						if (item.type == 0) {
							this.firstOrderPrice = item.givePrice;
						}
					})
				})
			},
			// 获取打包费以及配送配
			getShopInfoDeliveryPacking() {
				this.$u.api.getShopInfoDeliveryPacking({
					id: this.shopInfo.id
				}).then(res => {
					this.serviceChargeInfo = res.data;
				})
			},
			// 获取用户最近一次使用的收货地址
			getUserAddressRecently() {
				this.$u.api.getUserAddressRecently({
					userId: this.userInfo.id
				}).then(res => {
					this.addressData = res.data;
					console.log(this.addressData, 'addressData');
				})
			},
			// 显示支付方式面板
			toggleSalesType() {

			},
			// 获取列表的时候需要调用一下
			// this.$nextTick(() => {
			// 	this.$refs.uReadMore.init();
			// })
			//显示优惠券面板
			toggleMask(type) {
				let timer = type === 'show' ? 10 : 300;
				let state = type === 'show' ? 1 : 0;
				this.maskState = 2;
				setTimeout(() => {
					this.maskState = state;
				}, timer)
			},
			numberChange(data) {
				this.number = data.number;
			},
			// 用户储蓄余额
			async getShopSaveUserBalance() {
				const data = await this.$u.api.getShopSaveUserBalance({
					shopId: this.shopInfo.id,
					userId: this.userInfo.id
				})
				this.balance = data.data;
			},
			async submit() {
				// #ifdef H5
				if(this.addressData.schoolId != uni.getStorageSync('schoolInfo').id) {
					uni.showToast({
						title: '超出配送范围',
						image: '/static/icon/error.png'
					})
					return false;
				}
				// #endif
				// #ifndef H5
				if(this.addressData.schoolId != this.schoolInfo.id) {
					uni.showToast({
						title: '超出配送范围',
						image: '/static/icon/error.png'
					})
					return false;
				}
				// #endif
				if(!(this.addressData !== null && typeof this.addressData === 'object' && this.addressData.hasOwnProperty('id'))) {
					uni.showToast({
						title: '请添加收货地址',
						image: '/static/icon/error.png'
					})
					return false;
				}
				if (this.paymentMethod == 1) {
					// 储蓄支付现行判断是否余额足够
					if (this.disbursements > this.balance) {
						uni.showToast({
							title: '店铺储蓄不足',
							image: "/static/icon/error.png"
						})
						return false;
					}
				}
				uni.showLoading({
					title: '唤起支付中...'
				})
				let orderTakeawayCommodityList = [];
				let originalPrice = 0; // 原价
				let memberPrice = 0; // 会员价
				let discountDetails = {
					firstOrderPrice: this.isShopNewCustomers ? this.firstOrderPrice : null,
					fullReduction: {
						...this.fullReduction
					}
				};
				// 折扣详情
				this.carList.forEach(item => {
					console.log(item, 'item');
					orderTakeawayCommodityList.push({
						commodityId: item.id,
						price: this.paymentMethod == 1 ? item.memberPrice : item.originalPrice,
						number: item.number,
						commoditySpecs: item.commoditySpecs,
					})
					originalPrice = Number(item.originalPrice) * Number(item.number);
					memberPrice = Number(item.memberPrice) * Number(item.number);
				})
				let data = {
					userId: this.userInfo.id,
					price: this.disbursements,
					deliveryPrice: this.serviceChargeInfo.deliveryPrice,
					packingCharge: this.serviceChargeInfo.packingCharge,
					userAddress: this.addressData.address,
					userAddressId: this.addressData.id,
					paymentMethod: this.paymentMethod,
					schoolBuildingId: this.addressData.schoolBuildingId,
					schoolId: this.addressData.schoolId,
					phone: this.addressData.phone,
					contacts: this.addressData.contacts,
					shopId: this.shopInfo.id,
					notes: this.notes,
					orderTakeawayCommodityList,
					originalPrice,
					memberPrice,
					discountDetails: JSON.stringify(discountDetails)
				}
				const orderInfo = await this.$u.api.addOrderTakeaway(data);
				let self = this;
				if (this.paymentMethod == 0) {
					// 微信支付
					data.id = orderInfo.data;
					this.entPay(data.id, this.disbursements, 0);
				} else {
					// 储蓄支付
					data.id = orderInfo.data;
					this.$u.api.savePayOrderTakeawayCallback(data).then(res => {
						uni.hideLoading();
						uni.showToast({
							title: '支付成功',
							success() {
								uni.reLaunch({
									url: '/pages/money/paySuccess'
								})
							}
						})
					})
				}
			},
			stopPrevent() {}
		}
	}
</script>

<style lang="scss">
	page {
		background: $page-color-base;
		padding-bottom: 100upx;
	}

	.modalContent-style {
		text-align: center;
		font-weight: 500;
		margin: 30rpx 0;
		font-size: 26rpx;
		color: #999;
	}

	.pay-type-list {
		margin-top: 20upx;
		background-color: #fff;
		padding-left: 60upx;
		margin-bottom: 60rpx;

		.type-item {
			height: 120upx;
			padding: 20upx 0;
			display: flex;
			justify-content: space-between;
			align-items: center;
			padding-right: 60upx;
			font-size: 30upx;
			position: relative;
		}

		.icon {
			width: 100upx;
			font-size: 52upx;
		}

		.icon-erjiye-yucunkuan {
			color: #fe8e2e;
		}

		.icon-weixinzhifu {
			color: #36cb59;
		}

		.icon-alipay {
			color: #01aaef;
		}

		.tit {
			font-size: $font-lg;
			color: $font-color-dark;
			margin-bottom: 4upx;
		}

		.con {
			flex: 1;
			display: flex;
			flex-direction: column;
			font-size: $font-sm;
			color: $font-color-light;
		}
	}

	.mix-btn {
		display: flex;
		align-items: center;
		justify-content: center;
		width: 630upx;
		height: 80upx;
		margin: 60upx auto 30upx;
		font-size: $font-lg;
		color: #fff;
		background-color: $base-color;
		border-radius: 10upx;
		box-shadow: 1px 2px 5px rgba(219, 63, 96, 0.4);
	}

	.address-section {
		padding: 30upx 0;
		background: #fff;
		position: relative;

		.order-content {
			display: flex;
			align-items: center;
		}

		.icon-shouhuodizhi {
			flex-shrink: 0;
			display: flex;
			align-items: center;
			justify-content: center;
			width: 90upx;
			color: #888;
			font-size: 44upx;
		}

		.cen {
			display: flex;
			flex-direction: column;
			flex: 1;
			font-size: 28upx;
			color: $font-color-dark;
		}

		.name {
			font-size: 34upx;
			margin-right: 24upx;
		}

		.address {
			margin-top: 16upx;
			margin-right: 20upx;
			color: $font-color-light;
		}

		.icon-you {
			font-size: 32upx;
			color: $font-color-light;
			margin-right: 30upx;
		}

		.a-bg {
			position: absolute;
			left: 0;
			bottom: 0;
			display: block;
			width: 100%;
			height: 5upx;
		}
	}

	.goods-section {
		margin-top: 16upx;
		background: #fff;

		.g-header {
			height: 84upx;
			line-height: 84rpx;
			// padding: 0 30upx;
			position: relative;
			padding: 0 24rpx;
			border-bottom: 1rpx dashed #eaeaea;
		}

		.logo {
			display: block;
			width: 50upx;
			height: 50upx;
			border-radius: 100px;
		}

		.name {
			font-size: 30upx;
			color: $font-color-base;
		}

		.g-item {
			display: flex;
			margin: 20rpx 30upx 30upx;

			image {
				flex-shrink: 0;
				display: block;
				width: 140upx;
				height: 140upx;
				border-radius: 16rpx;
			}

			.underlined-price {
				color: #999;
				text-decoration: line-through;
				margin: 0 12rpx;

				&::before {
					content: '¥';
				}
			}

			.right {
				flex: 1;
				padding-left: 24upx;
				overflow: hidden;

				.over-title {
					// width: 408rpx;
				}
			}

			.title {
				width: 300rpx;
				font-size: 30upx;
				color: $font-color-dark;
			}

			.spec {
				font-size: 26upx;
				color: $font-color-light;
			}

			.price-box {
				display: flex;
				align-items: center;
				font-size: 32upx;
				color: $font-color-dark;
				padding-top: 10upx;

				.price {
					margin-bottom: 4upx;
				}

				.number {
					font-size: 26upx;
					color: $font-color-base;
					margin-left: 20upx;
				}
			}

			.step-box {
				position: relative;
			}
		}
	}

	.yt-list {
		margin-top: 16upx;
		background: #fff;
	}

	.yt-list-cell {
		display: flex;
		align-items: center;
		padding: 10upx 30upx 10upx 40upx;
		line-height: 70upx;
		position: relative;

		&.cell-hover {
			background: #fafafa;
		}

		&.b-b:after {
			left: 30upx;
		}

		.cell-icon {
			height: 32upx;
			width: 32upx;
			font-size: 22upx;
			color: #fff;
			text-align: center;
			line-height: 32upx;
			background: #f85e52;
			border-radius: 4upx;
			margin-right: 12upx;

			&.hb {
				background: #ffaa0e;
			}

			&.lpk {
				background: #3ab54a;
			}

		}

		.cell-more {
			align-self: center;
			font-size: 24upx;
			color: $font-color-light;
			margin-left: 8upx;
			margin-right: -10upx;
		}

		.cell-tit {
			flex: 1;
			font-size: 26upx;
			color: $font-color-light;
			margin-right: 10upx;
		}

		.cell-tip {
			font-size: 26upx;
			color: $font-color-dark;

			&.disabled {
				color: $font-color-light;
			}

			&.active {
				color: $base-color;
			}

			&.red {
				color: $base-color;
			}
		}

		&.desc-cell {
			.cell-tit {
				max-width: 90upx;
			}
		}

		.desc {
			flex: 1;
			font-size: $font-base;
			color: $font-color-dark;
		}
	}

	/* 支付列表 */
	.pay-list {
		padding-left: 40upx;
		margin-top: 16upx;
		background: #fff;

		.pay-item {
			display: flex;
			align-items: center;
			padding-right: 20upx;
			line-height: 1;
			height: 110upx;
			position: relative;
		}

		.icon-weixinzhifu {
			width: 80upx;
			font-size: 40upx;
			color: #6BCC03;
		}

		.icon-alipay {
			width: 80upx;
			font-size: 40upx;
			color: #06B4FD;
		}

		.icon-xuanzhong2 {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 60upx;
			height: 60upx;
			font-size: 40upx;
			color: $base-color;
		}

		.tit {
			font-size: 32upx;
			color: $font-color-dark;
			flex: 1;
		}
	}

	.footer {
		position: fixed;
		left: 0;
		bottom: 0;
		z-index: 995;
		display: flex;
		align-items: center;
		width: 100%;
		height: 90upx;
		justify-content: space-between;
		font-size: 30upx;
		background-color: #fff;
		z-index: 998;
		color: $font-color-base;
		box-shadow: 0 -1px 5px rgba(0, 0, 0, .1);

		.price-content {
			padding-left: 30upx;
		}

		.price-tip {
			color: $base-color;
			margin-left: 8upx;
		}

		.price {
			font-size: 36upx;
			color: $base-color;
		}

		.submit {
			display: flex;
			align-items: center;
			justify-content: center;
			width: 280upx;
			height: 100%;
			color: #fff;
			font-size: 32upx;
			background-color: $base-color;
		}
	}

	/* 优惠券面板 */
	.mask {
		display: flex;
		align-items: flex-end;
		position: fixed;
		left: 0;
		top: var(--window-top);
		bottom: 0;
		width: 100%;
		background: rgba(0, 0, 0, 0);
		z-index: 9995;
		transition: .3s;

		.mask-content {
			width: 100%;
			min-height: 30vh;
			max-height: 70vh;
			background: #f3f3f3;
			transform: translateY(100%);
			transition: .3s;
			overflow-y: scroll;
		}

		&.none {
			display: none;
		}

		&.show {
			background: rgba(0, 0, 0, .4);

			.mask-content {
				transform: translateY(0);
			}
		}
	}

	/* 优惠券列表 */
	.coupon-item {
		display: flex;
		flex-direction: column;
		margin: 20upx 24upx;
		background: #fff;

		.con {
			display: flex;
			align-items: center;
			position: relative;
			height: 120upx;
			padding: 0 30upx;

			&:after {
				position: absolute;
				left: 0;
				bottom: 0;
				content: '';
				width: 100%;
				height: 0;
				border-bottom: 1px dashed #f3f3f3;
				transform: scaleY(50%);
			}
		}

		.left {
			display: flex;
			flex-direction: column;
			justify-content: center;
			flex: 1;
			overflow: hidden;
			height: 100upx;
		}

		.title {
			font-size: 32upx;
			color: $font-color-dark;
			margin-bottom: 10upx;
		}

		.time {
			font-size: 24upx;
			color: $font-color-light;
		}

		.right {
			display: flex;
			flex-direction: column;
			justify-content: center;
			align-items: center;
			font-size: 26upx;
			color: $font-color-base;
			height: 100upx;
		}

		.price {
			font-size: 44upx;
			color: $base-color;

			&:before {
				content: '￥';
				font-size: 34upx;
			}
		}

		.tips {
			font-size: 24upx;
			color: $font-color-light;
			line-height: 60upx;
			padding-left: 30upx;
		}

		.circle {
			position: absolute;
			left: -6upx;
			bottom: -10upx;
			z-index: 10;
			width: 20upx;
			height: 20upx;
			background: #f3f3f3;
			border-radius: 100px;

			&.r {
				left: auto;
				right: -6upx;
			}
		}
	}
</style>